package com.tf_cut.cpm.web;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication 	// spring内嵌web中间件启动
@EnableEurekaClient 	// 注册中心客户端
@EnableFeignClients 	// webservice客户端
@EnableCircuitBreaker			// 熔断
public class CpmConsumerServer {
	public static void main(String[] args) {
		SpringApplication.run(CpmConsumerServer.class, args);
	}
}
